//
//  PopCollectionCell.m
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/31.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import "PopCollectionCell.h"

@implementation PopCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setCategory:(id)category{
    _category = category;
    CategoryModel * cat = (CategoryModel*)_category;
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:cat.small_pic] placeholderImage:nil];
    self.titleLabel.text = cat.cat_name;
}
@end
